//
//  Mylabel.m
//  UI练习
//
//  Created by dllo on 16/3/19.
//  Copyright © 2016年 Apon. All rights reserved.
//

#import "Mylabel.h"

@implementation Mylabel


- (instancetype)initWithFrame:(CGRect)frame text:(NSString *)text{
    self = [super initWithFrame:frame];
    if (self) {
        self.text = text;
        [self config];
    }
    return self;
    
}
- (void)config{
    
    self.font = [UIFont systemFontOfSize:25];
    self.textColor = [UIColor cyanColor];
    self.shadowColor = [UIColor grayColor];
    self.shadowOffset= CGSizeMake(2, 3);
    
    
}

















/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
